
# create date： 2024.01.27

# 进入管理员权限
#$ sudo su
#83418341
#root@ubuntu:/home/wuchunlong# chmod a+x remove_ubuntu_py38.sh
#root@ubuntu:/home/wuchunlong# ./remove_ubuntu_py38.sh 


# 1、卸载python3.8
apt-get remove python3.8

# 2、卸载python3.8及其依赖
apt-get remove --auto-remove python3.8

#3、清除python3.8
apt-get purge python3.8
#or
#sudo apt-get purge --auto-remove python3.8

# https://www.jb51.net/article/221437.htm